package com.go.where.family.component;

import java.util.List;

import com.go.where.family.pojo.FamilySubjectInfo;
import com.go.where.family.scoket.Head;

/**
 * 话题信息组件
 * 
 * @author java
 * 
 */
public interface FamilySubjectComponent {

	/**
	 * 分页条件查询列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<FamilySubjectInfo> queryList(String body, Head head);

	/**
	 * 查询详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public FamilySubjectInfo querySubjectDetail(String body, Head head);

	/**
	 * 更新话题支持人数
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean updateSupport(String body, Head head);

}
